package cn.iocoder.yudao.module.crossborder.platform.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 授权状态枚举
 *
 * @author 芋道源码
 */
@AllArgsConstructor
@Getter
public enum AuthStatusEnum {

    UNAUTHORIZED(0, "未授权"),
    AUTHORIZED(1, "已授权"),
    EXPIRED(2, "已过期"),
    REVOKED(3, "已撤销"),
    ;

    /**
     * 状态值
     */
    private final Integer status;
    
    /**
     * 状态名称
     */
    private final String name;

}
